/**
 * All rights reserved by www.xmerge.cn
 */
package net.xfok.info.nba;

import android.net.Uri;
import android.provider.BaseColumns;

/**
 * @author YangHua
 *
 */
public class InfoItem {
	public static final String AUTHORITY  = "net.xfok.info."+InfoConstant.infoType+".InfoItem";

	public static final class Info implements BaseColumns {
        public static final Uri CONTENT_URI  = Uri.parse("content://"+AUTHORITY+"/info");      
        public static final String INFO_DB_NAME=InfoConstant.infoType+".db";
    	public static final String INFO_TABLE_NAME="info";
    	public static final String INFO_COLUMN_ID="_id";
    	public static final String INFO_COLUMN_INFO_TITLE="info_title";
    	public static final String INFO_COLUMN_INFO_ID="info_id";
    	public static final String INFO_COLUMN_INFO_DATE="info_date";
    	public static final String INFO_COLUMN_INFO_CONTENT="info_content";
    	public static final String COLUMNS[] = new String[] {
    		INFO_COLUMN_ID,INFO_COLUMN_INFO_TITLE,INFO_COLUMN_INFO_ID,INFO_COLUMN_INFO_DATE,INFO_COLUMN_INFO_CONTENT};
    }
	
	private int id;
	private String title;
	private String infoId;
	private String date;
	private String content;
	
	public InfoItem(){
		
	}
	
	public InfoItem(int id,String title, String infoId, String date,String content) {
		super();
		this.id=id;
		this.title = title;
		this.infoId = infoId;
		this.date = date;
		this.content = content;
	}

	public InfoItem(String title, String infoId, String date,String content) {
		super();
		this.title = title;
		this.infoId = infoId;
		this.date = date;
		this.content = content;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getInfoId() {
		return infoId;
	}

	public void setInfoId(String infoId) {
		this.infoId = infoId;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}
